<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登陆</title>
<style type="text/css">
	.error {
		color:red;
	}
</style>
</head>
<body>
	<form action="${pageContext.request.contextPath}/account.do?method=login" method="post">
		<span class="error" style="display: block;">${errors.loginError}</span>
		用户名: <input type="text" name="username" value="${param.username}"><span class="error">${errors.username}</span><br /> 
		密码: <input type="password" name="password"><span class="error">${errors.password}</span><br />
		<input type="submit" value="登录">  &nbsp;
		<a href="${pageContext.request.contextPath}/jsp/forgotPasswrod.jsp">忘记密码?</a> &nbsp;
		<a href="${pageContext.request.contextPath}/jsp/register.jspp">注册</a>&nbsp;
	</form>
</body>
</html>